﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Multiprocessing.Core
{
    public static class ArgumentValidator
    {
        public static void NullValidate<T>(T arg, string name) where T : class
        {
            if (ReferenceEquals(arg, null))
            {
                throw new ArgumentNullException(name);
            }
        }
    }
}
